*{
    margin: 0px;
    padding: 0px;
}
body{
    background-color: #f3f5f7;
    /* height: 3000px; */
}
.w{
    width: 1200px;
    margin: 0 auto;
}
li {
    list-style: none;
}
.header{
    height: 42px;
    margin:30px auto;
}
.logo,.logo img{
    width: 198px;
    height: 42px;
}
.logo{
    float: left;
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li{
    float: left;
    margin: 0 15px;
}
.nav ul li a{
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 10px;
    font-size: 18px;
    color: #050505;
    text-decoration: none;
}
.nav ul li a:hover{
    border-bottom: 3px solid blue;
    color: blue;
}
.search{
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}
.search input{
    width: 345px;
    height: 38px;
    float: left;
    border: 2px solid #00a4ff;
    border-right: none;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button{
    float: left;
    width: 50px;
    height: 42px;
    border: none;
    background-image: url('./search.jpg');
    background-size: 50px 42px;
}
.user{
    float: right;
    /* height: 42px; */
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;

}
.banner{
    height: 421px;
    background-color: #1c036c;
}
.banner .w{
    background-image: url('banner.png');
    height: 421px;
}
.subnav{
    width: 190px;
    height: 421px;
    background:rgba(0,0,0,0.3);
    float: left;
}
.subnav ul li{
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}
.subnav ul li a{
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}
.subnav ul li a span{
    float: right;
}
.subnav ul li a:hover{
    color:  #00a4ff;
}
.course{
    width: 230px;
    height: 300px;
    background-color: #fff;
    float: right;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
}
.course h2{
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}
.bd{
    padding: 0 20px;
}
.bd ul li{
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}
.bd ul li h4{
    color: #4e4e4e;
    font-size: 14px;
}
.bd ul li p{
    font-size: 12px;
    color: #a5a5a5;
}
.bd .more{
    display: block;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    font-size: 16px;
    text-decoration: none;
    margin-top: 5px;
    font-weight: 800;
}
.goods{
    height: 60px;
    /* 行高会继承给三个孩子 */
    line-height: 60px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgba(0,0,0,0.1);
}
.goods h3{
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods ul{
    float: left;
    margin-left: 30px;
}
.goods ul li{
    float: left;
}
.goods ul li a{
    padding: 0 30px;
    font-size: 16px;
    color-interpolation-filters: #050505;
    border-left: 1px solid #ccc;
    color: black;
    text-decoration: none;
}
.goods .mod{
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #00a4ff;
    text-decoration: none;
}
.box{
    margin-top: 30px;
}
.box-hd{
    height: 45px;
}
.box-hd h3{
    float: left;
    font-size: 20px;
    color: #494949;
}
.box-hd a{
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
    text-decoration: none;
}
.box-bd ul{
    width: 1225px;
}
.clearfix:after{
    content:"";
    display:block;
    height:0;
    clear:both;
    visibility:hidden
}
.box-bd ul li{
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
}
.box-bd ul li .hot{
    position: absolute;
    right: 0;
    top: 0;
    background-color: #ff7c2d;
    color: #fff;
    font-size: 18px;
    padding: 5px;
    border-radius: 25%;
}
.box-bd ul li img{
    width: 100%;
    height: 155px;
}
.box-bd ul li h4{
    margin: 20px  20px 20px 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box-bd ul li .info{
    margin: 0px  20px 0px 25px;
   font-size: 12px;
   color: #999; 
}
.box-bd ul li .info span{
    color: #ff7c2d;
}
.footer{
    height: 415px;
    background-color: #fff;
}
.footer .w{
    padding-top: 35px;
}
.copyright{
    float: left;
}
.copyright p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}
.copyright .app{
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    color: #00a4ff;
    font-size: 16px;
    text-decoration: none;
}

.links{
    float: right;
}
.links dl{
    float: left;
    margin-left:100px;
}
.links dl dt{
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}
.links dl dd a{
    color: #333;
    font-size: 12px;
    text-decoration: none;
}
.dj{
    position: fixed;
    top: 200px;
    right: 0px;
}
